package cn.com.generaldata.jsme_indicator_system.entity;

import javax.xml.bind.annotation.XmlRootElement;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.View;

/**
* 
*/
@Data
@Table("tbl_bi_show")
@View("v_bi_show")
@XmlRootElement(name = "bishow")
public class BiShowNz implements java.io.Serializable {
	private static final long serialVersionUID = 5454155825314635342L;

	//columns START
	/**
	 * 主键       db_column: id 
	 */
	@Id(auto = false)
	@Column("id")
	private Integer id;
	/**
	 * 指标ID       db_column: indicator_id 
	 */
	@Column("indicator_id")
	private Integer indicatorId;
	/**
	 * 年份       db_column: year 
	 */
	@Column("year")
	private Integer year;
	/**
	 * 月份       db_column: month 
	 */
	@Column("month")
	private Integer month;
	/**
	 * 季度       db_column: quarter 
	 */
	@Column("quarter")
	private Integer quarter;
	/**
	 * 标示年报类别1：半年报 2：全年报       db_column: year_type 
	 */
	@Column("year_type")
	private Integer yearType;
	/**
	 * 报送单位ID       db_column: unit_id 
	 */
	@Column("unit_id")
	private String unitId;
	/**
	 * 单位区划ID       db_column: area_id 
	 */
	@Column("area_id")
	private String areaId;
	/**
	 * 指标值       db_column: indicator_value 
	 */
	@Column("indicator_value")
	private Double indicatorValue;
	/**
	* 上报单位名称       db_column: unit_name 
	*/
	@Column("unit_name")
	@Readonly
	private String unitName;
	/**
	 * 区域描述       db_column: area_desc 
	 */
	@Column("area_desc")
	@Readonly
	private String areaDesc;
	/**
	 * 指标名称       db_column: NAME 
	 */
	@Column("NAME")
	@Readonly
	private String name;
	/**
	 * 指标单位       db_column: UNIT 
	 */
	@Column("UNIT")
	@Readonly
	private String unit;

}
